home *** CD-ROM | disk | FTP | other *** search
/ Revolution - Das Atari CD Magazin 1997 / Revolution - Das Atari CD Magazin 1.iso / software / mag_prg / udo / udo6ehp7.tz / udo6ehp7 / UDO6eng / doc / examples / hello.u < prev    next >
Text File  |  1997-01-04  |  927b  |  50 lines

  1. ###################################################
  2. # A small demonstration of a software documentation
  3. ###################################################
  4.  
  5. !code_iso
  6. !english
  7.  
  8. !title   The Guide to
  9. !program Hello, World!
  10. !version Release 42
  11. !date    (!today)
  12.  
  13. !author  Dirk Hagedorn
  14. !street  In der Esmecke 9
  15. !town    59846 Sundern
  16. !country Germany
  17. !email   Internet: DirkHage@aol.com
  18. !email   MausNet: Dirk Hagedorn @ MK2
  19.  
  20. !begin_document
  21. !maketitle
  22. !tableofcontents
  23.  
  24. !node Installation
  25.  
  26. In first place you should install a C compiler if you haven't installed
  27. one yet.
  28.  
  29. Generate a text file called (!V)hello.c(!v) end
  30. insert the following lines:
  31.  
  32. !begin_quote
  33. !begin_verbatim
  34. #include <stdio.h>
  35.  
  36. int main ( void )
  37. {
  38.     puts("Hello, World!");
  39.  
  40.     return(0);
  41. }
  42. !end_verbatim
  43. !end_quote
  44.  
  45. Save this file and compile it. Start the
  46. program the compiler has built.
  47.  
  48. !end_document
  49.  
  50.